﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.Rendering.MeshUpdateFlags
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;

#nullable disable
namespace UnityEngine.Rendering
{
  /// <summary>
  ///   <para>Mesh data update flags.</para>
  /// </summary>
  [Flags]
  public enum MeshUpdateFlags
  {
    /// <summary>
    ///   <para>Indicates that Unity should perform the default checks and validation when you update a Mesh's data.</para>
    /// </summary>
    Default = 0,
    /// <summary>
    ///   <para>Indicates that Unity should not check index values when you use Mesh.SetIndexBufferData to modify a Mesh's data.</para>
    /// </summary>
    DontValidateIndices = 1,
    /// <summary>
    ///   <para>Indicates that Unity should not reset skinned mesh bone bounds when you modify Mesh data using Mesh.SetVertexBufferData or Mesh.SetIndexBufferData.</para>
    /// </summary>
    DontResetBoneBounds = 2,
    /// <summary>
    ///   <para>Indicates that Unity should not notify Renderer components about a possible Mesh bounds change, when you modify Mesh data.</para>
    /// </summary>
    DontNotifyMeshUsers = 4,
    /// <summary>
    ///   <para>Indicates that Unity should not recalculate the bounds when you set Mesh data using Mesh.SetSubMesh.</para>
    /// </summary>
    DontRecalculateBounds = 8,
  }
}
